//
//  Girl.h
//  OCDay8test
//
//  Created by dllo on 16/6/1.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import <Foundation/Foundation.h>


@protocol GirlDelegate <NSObject>

-(void)getMoney;

//可实现可不实现的
@optional
-(void)clearRoom;

@end





@interface Girl : NSObject

//设置代理人的属性
@property (nonatomic,assign)id <GirlDelegate> delegate;


@property (nonatomic,retain)NSString *name;
@property (nonatomic,assign)NSInteger age;


-(void)getMarry;

@end
